package show.me.the.money.config.reportSchema;

import java.util.HashMap;
import java.util.List;

import org.dom4j.Element;

import show.me.the.money.config.reportSchema.define.ReportSchema;
import show.me.the.money.config.schema.SchemaItem;
import show.me.the.money.util.context.Context;


@SuppressWarnings("unchecked")
public interface ReportDefine {
	public void setDefineXML(Element define);
	public List<SchemaItem> getHeaders(boolean group);
	public int getHeaderCount();
	public void setStartRenderIndex(int start);
	public void setReportSchema(ReportSchema rs);
	public void setQueryArgs(List<SchemaItem> queryArgs);
	public void addCondition(List topCnd);
	public List<HashMap> runSingleMode(Context ctx);
	public void runMutiMode(HashMap<String,HashMap> data,Context ctx);
	
}
